package com.android.ddfafu.result;

import android.content.Intent;
import android.net.Uri;

import java.io.File;
import java.io.Serializable;

public class CameraResult implements Serializable {

    private File image;
    private Uri uri;
    private Intent intent;

    public static CameraResult result(Intent intent,File file,Uri uri){
        CameraResult result = new CameraResult();
        result.setImage(file);
        result.setIntent(intent);
        result.setUri(uri);
        return result;
    }

    public Intent getIntent() {
        return intent;
    }

    public void setIntent(Intent intent) {
        this.intent = intent;
    }

    public File getImage() {
        return image;
    }

    public void setImage(File image) {
        this.image = image;
    }

    public Uri getUri() {
        return uri;
    }

    public void setUri(Uri uri) {
        this.uri = uri;
    }
}
